package com.jxb.moniDubbo;

import java.io.Serializable;

import org.apache.dubbo.common.stream.StreamObserver;
public interface UserService extends Serializable {

    public User getUser(String uid);

    // SERVER_STREAM
    default void sayHelloServerStream(String name, OrderStream response) {
    }

    // CLIENT_STREAM / BI_STREAM
    default OrderStream sayHelloStream(OrderStream response) {
        return response;
    }


}